﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;

namespace GenericModels
{
    [DataContract(IsReference=false)]
    public class Seat
    {
        private int seatId;
        private string status;
        private int show_id;
        
        //Constructor with input variables
        public Seat(int id, string s, int show_id)
        {
            this.seatId = id;
            this.status = s;
            this.show_id = show_id;
            
        }

        //Constructor without input variables
        public Seat()
        {
            this.SeatId = 0;
            this.status = "";
            this.show_id = 0;
        }

        #region Get & Set

        [DataMember]
        public int SeatId
        {
            get { return seatId; }
            set { seatId = value; }
        }

        [DataMember]
        public string Status
        {
            get { return status; }
            set { status = value; }
        }

        [DataMember]
        public int Show_Id
        {
            get { return show_id; }
            set { show_id = value; }
        }

        #endregion
    }
}
